import Request from "../../../../utils/request2.js";
export default class {
  static saveIdentityCard(params) {
    return Request({
      url: "app/certification/create",
      type: "POST",
      data: params
    })
  }
  //获取是否上传身份证
  static queryIdCardNo(params = {}){
    var accountId = wx.getStorageSync('userId');
    return Request({
      url: "app/user/queryIdCardNo/"+accountId,
      type: "get",
      data: {...params}
    })
  }

}
